<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Home extends CI_Controller {
    public $setting='';
    private $base_url_trang='';
    private $total_rows=10;
    private $per_page = 10;
    private $uri_phantrang=0;
    public $rear ='';
    function  __construct(){
        parent::__construct(); 
        if($this->session->userdata('ngonngu') && $this->session->userdata('ngonngu')=='_en') {
            $this->rear = '_en';
            $this->lang->load('atta','english');
        }else{
            $this->lang->load('atta','vietnam');
        }  
    }
    function index(){ 
        $data['content']=$this->load->controller('mod_content/mod_content/index');
        $this->load->view('index',$data);
    }   
}